package com.wsz.security.service;

import com.wsz.security.pojo.Role;
import com.wsz.security.pojo.User;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
* @author wangs
* @description 针对表【user】的数据库操作Service
* @createDate 2022-11-24 15:01:20
*/
public interface UserService extends IService<User> {
    User getUserByUserName(String username);

    void addRoleToUser(String username,String roleName);

    List<User> getUserList();
}
